#!/usr/bin/python

import matplotlib.pyplot as plt

#x = [1,2,3,4]
#y = [10,10,15,15]
gx = [1,40]
gy = [1,1]

x = [1,2,4,8,5,8,10,15]
y = [5,5,6,6,8,8,10,10]

a = [(1,4,5,10), (2,8,8,15)] #[xstart, xstop]
b = [(5,6,8,10), (5,6,8,10)] #[ystart, ystop]

fig = plt.figure(1, figsize=(14,6))

plt.plot(gx, gy, color='orange', marker='-',
    markerfacecolor='black', linestyle='-', linewidth=2.0)
plt.plot(x, y, 'b>')
plt.plot(a, b, 'b', linestyle='--')
plt.axis([0, 42, 0, 20])
plt.title('Paired-end clones')
plt.xlabel('Genome coordinates(bp)')
#plt.ylabel('position')
plt.grid(True)

plt.show()

